/*
 * Copyright (C) 2010-2011 Comcast Cable.  All Rights Reserved.
 */
package com.hercules.android.receiver.model.objects;

/**
 * <p>This class represents stylesheets that are used to apply CSS styles to HTML Text resources. It is a simple
 * JavaBean (POJO) that provides getters and setters for all private attributes and performs no argument validation in
 * the setters.</p>
 *
 * <p><strong>Thread safety:</strong> This class is mutable and not thread safe.</p>
 *
 * @author saarixx, jmn
 * @version 1.0
 */
public class XREStylesheet extends XREResource {

    /**
     * <p>The CSS code to be used by the resource.</p>
     *
     * <p>Can be any value.</p>
     *
     * <p>Has getter and setter.</p>
     */
    private String css;

    /**
     * <p>Creates new instance of {@link XREStylesheet} class.</p>
     */
    public XREStylesheet() {
        // empty constructor
    }

    /**
     * <p>Retrieves the CSS code to be used by the resource.</p>
     *
     * @return the CSS code to be used by the resource
     */
    public String getCss() {
        return css;
    }

    /**
     * <p>Sets the CSS code to be used by the resource.</p>
     *
     * @param css the CSS code to be used by the resource
     */
    public void setCss(String css) {
        this.css = css;
    }
}

